﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShopSpace.Core
{
	/// <summary>
	/// Gives a Person a Role in a Project
	/// </summary>
	public class ProjectPerson : Entity
	{
		protected ProjectPerson()
		{
		}

		public ProjectPerson(Project project, Person person, Role role) 
		{
			this.Project = project;
			this.Person = person;
			this.Role = role;
		}

		public virtual Project Project
		{
			get;
			protected set;
		}

		public virtual Person Person
		{
			get;
			protected set;
		}

		public virtual Role Role
		{
			get;
			set;
		}
	}
}